home *** CD-ROM | disk | FTP | other *** search
- #ifndef TEMP_TEST
- #define TEMP_TEST
-
- #include "oofile.hpp"
-
- DECLARE_CLASS(dbTemperature)
- dbChar Day, Time;
- dbLong Temp;
-
- dbTemperature() :
- dbTable("Temperatures"),
- Day(12, "Day", kIndexCompress),
- Time(12, "Time", kIndexCompress),
- Temp("Temperature", kIndexed)
- {};
-
- // my own data entry procedures
- void Add(const char *day, const char *time, const long temp);
- void AddTestData();
- };
-
- #endif // TEMP_TEST